<!DOCTYPE html>
<html>
	<head>
		<title>在线相册管理系统</title>
		<meta charset="utf-8"/>
		<link type="text/css" rel="stylesheet" href="./bootstrap.min.css"/>
	</head>
	<body>
		<center>
			@include("photo.menu")
			
			<h2>浏览相册图片</h2>
			<table border='1' width="1000">
				<tr>
					
					<th>描述</th>
					<th>图片</th>
					<th>发布时间</th>
					<th>操作</th>
				</tr>
				

				
					@foreach($list as $photo){
	
							
							<tr align='center'>
							
								<td>{{$photo->name}}</td>
					<td><a href='./uploads/{{$photo->pic}}'><img src='./uploads/s_{{$photo->pic}}'/></a></td>
								
								<td>
								{{$photo->time}}
									
									
								</td>
								
								<td>
										  <a href='#'>删除</a>
										  <a href='#'>编辑</a>
									  </td>
							</tr>
						
					
					@endforeach
				
			</table>
			 <br/>
            
		</center>
	</body>
</html>